package com.xy.modular.building.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.xy.framework.base.dao.IBaseDao;
import com.xy.framework.base.service.BaseServiceImpl;
import com.xy.framework.exceptions.ValidateParamException;
import com.xy.modular.building.dao.FloorMapper;
import com.xy.modular.building.entity.Floor;
import com.xy.modular.building.service.IFloorService;

@Service("floorService")
public class FloorServiceImpl extends BaseServiceImpl<Floor, String> implements IFloorService {

	@Override
	public void validateEntity(Floor e) throws ValidateParamException {
		// TODO Auto-generated method stub

	}

	@Resource
	private FloorMapper floorMapper;

	@SuppressWarnings("rawtypes")
	@Override
	protected IBaseDao getBaseDao() {
		return this.floorMapper;
	}

}
